<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="/exercise/CSS/css/reset.css">
    <title>Document</title>
    <style>
        /* 为整个页面改变颜色 */
        body{
            background-color: royalblue;
        }
        /* 为整个导航条设置宽度高度 颜色,外边框,内边框*/
        .box{
            padding: 10px 0;
            width: 190px;
            height: 450px;
            background-color: #fff;
            margin-top: 10px;
        }
        /* 设置导航条的每个条的字体的大小,高度,让文字居中,右内边距距,让字体向内移动!*/
       .box .box1{
            font-size: 12px;
            padding-left: 18px ;
            height: 25px;
            line-height: 25px;
            
        }
        .box1:hover{
            
            
            background-color:#D9D9D9;
            
        }
        .box1 a:hover{
            color: #c81623;
        }
        .box a{
            font-size: 14px;
            color: #333;
            text-decoration: none;
        }
    </style>
</head>
<body>
    <ul class="box">
        <li class="box1">
            <a href="#">家用电器</a>
        </li>
        <li class="box1">
            <a href="#">手机</a><span>/</span><a href="">运营商</a><span>/</span><a href="">数码</a>
        </li>
        <li class="box1">
            <!-- 如果换行的话,代码会自动+一个br,在网页中显示 -->
            <a href="">电脑</a><span>/</span><a href="">办公</a>
            
        </li>
        <li class="box1">
            <a href="">家居</a><span>/</span><a href="">家具</a><span>/</span><a href="">家装</a><span>/</span><a href="">厨具</a>
        </li>
        <li class="box1">
            <a href="">男装</a><span>/</span><a href="">女装</a><span>/</span><a href="">童装</a><span>/</span><a href="">内衣</a>
        </li >
        <li class="box1">
            <a href="">美妆</a><span>/</span><a href="">个人清洁</a><span>/</span><a href="">宠物</a>
        </li>
        <li class="box1">
            <a href="">女鞋</a><span>/</span><a href="">鞋包</a><span>/</span><a href="">钟表</a><span>/</span><a href="">珠宝</a>
        </li>
        <li class="box1">
            <a href="">男鞋</a><span>/</span><a href="">运动</a><span>/</span><a href="">户外</a>
        </li>
        <li class="box1">
            <a href="">房产</a><span>/</span><a href="">汽车</a><span>/</span><a href="">汽车用品</a>
        </li>
        <li class="box1">
            <a href="">母婴</a><span>/</span><a href="">玩具乐器</a>
        </li>
        <li class="box1">
            <a href="">食品</a><span>/</span><a href="">酒类</a><span>/</span><a href="">生鲜</a><span>/</span><a href="">特产</a>
        </li>
        <li class="box1">
            <a href="">艺术</a><span>/</span><a href="">礼品鲜花</a><span>/</span><a href="">农资绿植</a>
        </li>
        <li class="box1">
            <a href="">医疗保健</a><span>/</span><a href="">计生情趣</a>
        </li>
        <li class="box1">
            <a href="">图书</a><span>/</span><a href="">文娱</a><span>/</span><a href="">教育</a><span>/</span><a href="">电子书</a>
        </li>
        <li class="box1">
            <a href="">机票</a><span>/</span><a href="">酒店</a><span>/</span><a href="">旅游</a><span>/</span><a href="">生活</a>
        </li>
        <li class="box1">
            <a href="">理财</a><span>/</span><a href="">众筹</a><span>/</span><a href="">白条</a><span>/</span><a href="">保险</a>
        </li>
        <li class="box1">
            <a href="">安装</a><span>/</span><a href="">维修</a><span>/</span><a href="">清洗</a><span>/</span><a href="">二手</a>
        </li>
        <li class="box1">
            <a href="">工业品</a>
        </li>
    </ul>
</body>
</html>